package com.dreamwhale.machinery;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

import java.util.Arrays;

public class ServletInitializer extends SpringBootServletInitializer {

    public static void main(String[] args) {
        String cartId = "234";
        String[] split = cartId.split(",");
        System.out.println(Arrays.toString(split));
    }

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(MachineryApplication.class);
    }

}
